package com.youlin.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@NoArgsConstructor
@Data
@Accessors(chain=true)
public class BaseDataResDto<T> extends BaseResDto {

    @ApiModelProperty(value="响应数据", position = 3)
    private T data;

    public BaseDataResDto(Status status) {
        super(status);
    }

    public BaseDataResDto(Status status, String message) {
        super(status, message);
    }

}
